package com.cugmarket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cugmarket.dto.CommentCreateDTO;
import com.cugmarket.dto.CommentPageDTO;
import com.cugmarket.entity.Comment;
import com.cugmarket.vo.CommentVO;
import com.cugmarket.vo.PageVO;

import java.util.List;

public interface CommentService extends IService<Comment> {

    List<CommentVO> getComments(String productId);

    void addComment(Comment comment);

    PageVO getCommentsByPage(CommentPageDTO commentPageDTO);
}
